﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class ThucPham
    {
        private Guid _id;
        private string _tenThucPham = String.Empty;
        private Guid _nhomThucPhamId = Guid.Empty;
        private int _donViTinhId;
        private double _giaHienThoi;
        private int _schoolID;

        public ThucPham()
        {
        }

        public ThucPham(   Guid _id,
         string _tenThucPham ,
         Guid _nhomThucPhamId ,
         int _donViTinhId,
         double _giaHienThoi,
         int _schoolID )
        {
            Id = _id;
            TenThucPham = _tenThucPham;
            NhomThucPhamId = _nhomThucPhamId;
            DonViTinhId = _donViTinhId;
            GiaHienThoi = _giaHienThoi;
            SchoolID = _schoolID;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string TenThucPham
        {
            get { return _tenThucPham; }
            set { _tenThucPham = value; }
        }

        public Guid NhomThucPhamId
        {
            get { return _nhomThucPhamId; }
            set { _nhomThucPhamId = value; }
        }

        public int DonViTinhId
        {
            get { return _donViTinhId; }
            set { _donViTinhId = value; }
        }

        public double GiaHienThoi
        {
            get { return _giaHienThoi; }
            set { _giaHienThoi = value; }
        }

        public int SchoolID
        {
            get { return _schoolID; }
            set { _schoolID = value; }
        }
        #endregion
		
    }
}
